package com.wang.dao;

import com.wang.pojo.User;
import org.mybatis.spring.support.SqlSessionDaoSupport;

public class UserMapperImpl2 extends SqlSessionDaoSupport implements UserMapper {
    public User getUser(int id) {
        return getSqlSession().getMapper(UserMapper.class).getUser(id);
    }
}
